package com.apes.framework.plugin.condition.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.framework.plugin.condition.model.FieldCatalog;
import com.apes.framework.plugin.condition.model.FieldCatalogItem;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * 字段目录明细表
 *
 * @author wuq
 * @create 2018-11-12 16:25
 */
public interface FieldCatalogItemRepository extends CustomRepository<FieldCatalogItem, String> {

    List<FieldCatalogItem> findAllByFieldCatalog_Id(String fieldCatalogId);

    List<FieldCatalogItem> findAllByFieldCatalog_IdOrderById(String fieldCatalogId);
}
